package com.hqhy.like.stock.dao.persist.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hqhy.like.stock.pojo.entity.StockOut;
import com.hqhy.like.stock.pojo.param.StockSearchParam;
import com.hqhy.like.stock.pojo.vo.StockOutListItemVO;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 处理出库数据的Mapper接口
 */
@Repository
public interface StockOutMapper extends BaseMapper<StockOut> {
    List<StockOutListItemVO> list();

    StockOutListItemVO selectStockInById(Long id);

    List<StockOutListItemVO> listForSearch(StockSearchParam stockInSearchParam);

    List<StockOutListItemVO> listStockInByIds(List<Long> ids);
}
